home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 95 / MOBICLIC 95.ISO / mac / MWB_DATA / TCH095 / TCH095_00 / TCH095_00.swf / scripts / frame_8 / DoAction.as
Text File  |  2007-06-28  |  494b  |  25 lines

  1. function testeFinIntro()
  2. {
  3.    _root.gCommentOn = 0;
  4.    gOnIntroSon = 0;
  5.    gotoAndPlay(_root._currentframe + 1);
  6. }
  7. pDone = 0;
  8. _root.fond.useHandCursor = false;
  9. _root.fond.onPress = function()
  10. {
  11.    if(_root.gCommentOn)
  12.    {
  13.       if(!pDone)
  14.       {
  15.          pDone = 1;
  16.          _root.gCommentOn = 0;
  17.          gOnIntroSon = 0;
  18.          monIntroSon.stop();
  19.          gotoAndPlay(_root._currentframe + 1);
  20.       }
  21.    }
  22. };
  23. monIntroSon.onSoundComplete = testeFinIntro;
  24. stop();
  25.